<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    我是b页面
    <a href="./c.html">点击我可以跳转到c页面</a>
    <button onclick="fn()">后退按钮</button>
    <script>
        function fn(){
            // history.back();
            // history.forward()
            history.go(0)
        }
        
    </script>
</body>
</html>